Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba: no account in domain
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
G|N|
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2004
Posts: 138
Location: Turnhout (Belgium)

PostPosted: Wed Dec 01, 2004 8:29 pm    Post subject: samba: no account in domain Reply with quote

when i try to log on from a windows pc to my server, it can only be done by pc-04. i can't join the domain on the rest.
Code:
[2004/12/01 18:20:40, 0] rpc_server/srv_netlog_nt.c:get_md4pw(261)
  get_md4pw: Workstation PC-02$: no account in domain


smb.conf
Code:
[global]
; Basic server settings
netbios name = server
workgroup = thuis

; we should act as the domain and local master browser
os level = 64
preferred master = yes
domain master = yes
local master = yes

;logfiles
logfile = /var/log/samba/log.%m
debug level = 1

; security settings (must user security = user)
security = user
username map = /etc/samba/user.map

; encrypted passwords are a requirement for a PDC
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

; support domain logons
domain logons = yes

;support for printing
 printing = CUPS
 printcap name = CUPS

; specify a generic logon script for all users
; this is a relative **DOS** path to the [netlogon] share
logon script = logon.bat

; necessary share for domain controller
[netlogon]
        path = /home/netlogon
        read only = yes
        write list = ntadmin

[homes]
       comment = Home directories
       valid users = %S
       browseable = No
       read only = No
       create mask = 0640
       directory mask = 0750
[printers]
       comment = All Printers
       path = /var/tmp
       printable = Yes
       create mask = 0600
       browseable = No
[print$]
       comment = Printer drivers
       path = /var/lib/samba/drivers
       write list = @ntadmin root users
       force group = ntadmin users
       create mask = 0664
       directory mask = 0775
[publiek]
       comment = map om gegevens uit te wisselen
       path = /home/publiek
       writeable = yes
       create mask = 0660
       directory mask = 0770


smbpasswd
Code:
pc-02$:402:6DC058E92537ECE0AAD3B435B51404EE:5E2CD55CE  64948EE004C3471794F6D65:[W          ]:LCT-41ADE54A:
pc-01$:401:6D39EDAD7DDAB09BAAD3B435B51404EE:F1EBF236B  64CD0F4CB77C4707D6D3334:[W          ]:LCT-41ADE556:
pc-03$:403:66EC992AB90E7567AAD3B435B51404EE:55F844398  45D3EA83A6A787CF0085AD3:[W          ]:LCT-41ADE551:
pc-04$:404:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:49D6C78D6  2F800F6DFCB682C9CD83103:[W          ]:LCT-41ADF88D:
root:0:CD1074F3DF8638B5E90E512583CB4824:05C20B202B  A59CA8CE5E968DC60F0332:[U          ]:LCT-41AB7B2F:
wout:1000:7A0378EEC999D7280339F879A8CBFA20:A52381E  45554DEAEAE4D5698F4A159A1:[U          ]:LCT-41ADE56F:
bert:1001:1C0419164F50EF27AAD3B435B51404EE:CDE150B  E481C712E39A65B58EEF0645E:[U          ]:LCT-41ADE579:


/etc/passwd
Code:
wout:x:1000:100:wout:/home/wout:/bin/bash
bert:x:1001:100:bert:/home/bert:/bin/bash
marc:x:1002:100:marc:/home/marc:/bin/bash
edith:x:1003:100:edith:/home/edith:/bin/bash
pc-01$:x:401:400:pc-01:/dev/null:/bin/false
pc-02$:x:402:400:pc-02:/dev/null:/bin/false
pc-03$:x:403:400:pc-03:/dev/null:/bin/false
pc-04$:x:404:400:pc-04:/dev/null:/bin/false


in smbpasswd you can see that pc-04 has a lot of XXXX and the rest not. maybe that's a hint.
Back to top
View user's profile Send private message
drakos7
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 294
Location: Rockville, MD, USA, Earth, Sol

PostPosted: Fri Dec 03, 2004 4:59 pm    Post subject: Reply with quote

Those X's are a good thing. They should be there. It looks like the other machines were not properly added to the domain. You could try to either
1] change their first hash to the same number of X's
2] remove them and try to add them back in from the pc
3] other...?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum