[Samba] ADS valid users can't map share

Greg Adams
Tue, 12 Oct 2004 15:28:24 -0000

Everything looks fine to me...

net ads info :

# net ads info
LDAP server: 199.42.192.103
LDAP server name: uscosddm001
Realm: EDSADDDM.DDM.APM.BPM.EDS.COM
Bind Path: dc=EDSADDDM,dc=DDM,dc=APM,dc=BPM,dc=EDS,dc=COM
LDAP port: 389
Server time: Tue, 12 Oct 2004 08:22:59 PST
KDC server: 199.42.192.103
Server time offset: 0

wbinfo -u :

# wbinfo -u | grep imguser
EDSADDDM+imguser

smb.conf :

# cat smb.conf
[global]

        workgroup = EDSADDDM
        realm = EDSADDDM.DDM.APM.BPM.EDS.COM

        server string = Maul Test Server

        log level = 2

        max log size = 100

        security = ADS

        local master = no

        os level = 0

        domain master = no

        preferred master = no

        wins server = 199.42.192.103
        dns proxy = no

        encrypt passwords = yes

        idmap uid = 60000-70000
        idmap gid = 80000-90000

        winbind enum users = yes
        winbind enum groups = yes

        winbind separator = +

        winbind use default domain = no

[space]
        comment = Space Partition Share
        path = /space
        writable = yes
        browsable = yes
        valid users = "EDSADDDM\imguser"


When I try to map \\maul\space from a Windows XP client, using
EDSADDDM\imguser as the user to map as, the username/password box just
keeps popping up, and I get the following messages in log.smbd :

[2004/10/12 08:25:33, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would
close all old resources.
[2004/10/12 08:25:33, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would
close all old resources.
[2004/10/12 08:25:33, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [imguser] -> [imguser]
-> [EDSADDDM+imguser] succeeded
[2004/10/12 08:25:33, 2] smbd/service.c:make_connection_snum(314)
  user 'EDSADDDM+imguser' (from session setup) not permitted to access
this share (space)
[2004/10/12 08:25:44, 2] smbd/server.c:exit_server(571)
  Closing connections



Any ideas?