We have a server with a raised OES2SP3 to CIFS and domain windows2008r2.
Passwords are synchronized with IDM.
CIFS is configured to authenticate users through the PDC.
On computers that are included in the domain users with no clients are connected disks transparently.
On computers that are not included in the domain using Net Use with an login and password of domain user.
But the connection each time the drive is not going on with success.
If the net use to write a bat file twice then the connection from the second time with a higher probability of happening.
In what may be the reason incurred in connection with the first time?
cifs log grom oes2sp3:
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : SESSION: cifsVcsm.c:509:Negprot obtained
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : SESSION: cifsVcsm.c:549:authres_success
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : VERB: NegProt : Selected protocol NT LM 0.12 index 5
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : VERB: VERBS : my system time in secs is 1302847299
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : VERB: sizeof long: 4, nint : 4, outParmP->ServerTimeZone : 2
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : VERB: SMB_SessionSetup2 entry, TID=0
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : AUTH: LDAP : ** Search User : cn=consultant in context : o=org
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : AUTH: LDAP : Found user cn=consultant,ou=Server,o=org, now try authenticating
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : AUTH: Failed to send sessetup request to pdc server, error 104.
Apr 15 13:01:39 fs2 CIFS[22050]: WARNING: AUTH: readSocket returerned: 0. client closed connection.
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : AUTH: DCNC: PDC for domain.ru is DC1 ip addr 192.168.1.58
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : AUTH: nbss response OK!
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : AUTH: (Proxylogin_Subtree)- No Duplicates flag set or domain authentication failed for user consultant, error 222, exit immediately
Apr 15 13:01:39 fs2 CIFS[22050]: WARNING: CODIR: Failed to authenticate User : consultant , err : 222
Apr 15 13:01:39 fs2 CIFS[22050]: CRITICAL: AUTH: Bad password. tempSES->nwLoginError is 222
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : CODIR: SESNotLoggedIn user: consultant Logging Off..
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : VERB: SMB_SessionSetup2, TID=0, error=109:49152
Apr 15 13:01:39 fs2 CIFS[22050]: INFO : CODIR: SESNotLoggedIn user: consultant Logging Off..


Any ideas?