[Samba] Samba 3.0.2 mapped by Actve Directory

2004-02-16 Thread Costlow Erik A.
I have spent a while trying to join a samba machine to our university's
active directory structure so that allowed users can map to it by simply
running \\webserver
I was able to join the machine just fine via: net ads join
VPSA/UH/UH-_ResComp_Servers/ -U adminname
And now I can run wbinfo -u to get a listing of all users on our
network. I have the right permissions, because from that computer, I can
run smbclient //IP/c\$ -k and it lets me through as it should.

However, when I run \\webserver from any other computer, log.smbd
shows: 
[2004/02/16 10:51:46, 0] auth/auth_util.c:make_server_info_info3(1100)
  make_server_info_info3: pdb_init_sam failed!
[2004/02/16 10:51:46, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [rceacostl] -
[rceacostl] FAILED with error NT_STATUS_NO_SUCH_USER

How can I make it so users can map their drives to this computer?

Part of /etc/smb.conf
[global]
workgroup = ADILSTU
realm = AD.ILSTU.EDU
security = ADS
auth methods = winbind, guest, sam
password server = air.ad.ilstu.edu
idmap uid = 1-5
winbind gid = 1-5
winbind enum users = yes
winbind enum groups = yes
valid users = @AD.ILSTU.EDU\ResCompBackupUser,
@AD.ILSTU.EDU\ResCompAll, @AD.ILSTU.EDU\DevTeam
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.2 mapped by Actve Directory

2004-02-16 Thread Andrew Bartlett
On Tue, 2004-02-17 at 04:06, Costlow Erik A. wrote:
 I have spent a while trying to join a samba machine to our university's
 active directory structure so that allowed users can map to it by simply
 running \\webserver
 I was able to join the machine just fine via: net ads join
 VPSA/UH/UH-_ResComp_Servers/ -U adminname
 And now I can run wbinfo -u to get a listing of all users on our
 network. I have the right permissions, because from that computer, I can
 run smbclient //IP/c\$ -k and it lets me through as it should.
 
 However, when I run \\webserver from any other computer, log.smbd
 shows: 
 [2004/02/16 10:51:46, 0] auth/auth_util.c:make_server_info_info3(1100)
   make_server_info_info3: pdb_init_sam failed!
 [2004/02/16 10:51:46, 2] auth/auth.c:check_ntlm_password(312)
   check_ntlm_password:  Authentication for user [rceacostl] -
 [rceacostl] FAILED with error NT_STATUS_NO_SUCH_USER
 
 How can I make it so users can map their drives to this computer?

Add winbind to your nsswitch.conf - you need 'getent passwd' to return
your AD users, before samba can use them.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba