Hello I've got a pb : i try to use security=domain and when i try smbcleint - j mdp - j Argos Could you help me please ?? Thanks -- JAn
You have to create the account from Server Manager first. Add the server as a workstation or member server - not a domain controller. Then run smbpasswd -j DOMAIN -r DOMPDC -----Original Message----- From: Govaere Jan [mailto:jgovaere@citeonline.org] Sent: 27 April 2001 14:04 To: 'samba@lists.samba.org' Subject: NT_STATUS_ACCESS_DENIED Hello I've got a pb : i try to use security=domain and when i try smbcleint - j mdp - j Argos Could you help me please ?? Thanks -- JAn -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.esatbusiness.com **********************************************************************
Samba_Version: 2.2.0a Samba_Server_HDWR: DEC Alpha 4100 Samba_Server_OS: Tru64 v.4.0g PDC_Server_OS: Windows 2000 Server sp2 Client_OS: Windows 2000 sp2 I have two identical Alpha 4100 UNIX servers, and both are running Tru64 ver. 4.0g and each has Samba 2.2.0a installed and operating. Both have been functioning with no configuration changes for over a year. However, something has happened to one of the installations. While all users can still map drives to the Samba share on one server (alpha-ems), only a few users can map a drive to the Samba share on the other server (alpha-ems2) and the rest of us can not. When I try, I am challenged with a user/pass screen. I have tried the tests in the documentation including ping from both server and client and they succeed, but this test fails: # smbpasswd -j EMSPHX -r EMSINTERNET -U% cli_net_auth2: Error NT_STATUS_ACCESS_DENIED cli_nt_setup_creds: auth2 challenge failed modify_trust_password: unable to setup the PDC credentials to machine EMSINTERNET. Error was : NT_STATUS_ACCESS_DENIED. 2002/04/18 08:28:16 : change_trust_account_password: Failed to change password for domain EMSPHX. Unable to join domain EMSPHX. If I don't put the -U% on the end, then I am again presented with the user/pass screen. However, when I check smbstatus, I see two users successfully attached each day (but only the same 2). # smbstatus Samba version 2.2.0a Service uid gid pid machine ---------------------------------------------- inv-fin applmgr dba 9535 tealy_gx150 (172.20.1.114) Thu Apr 18 06:35:05 2002 inv-fin applmgr dba 11180 jhooper_gx150 (172.16.1.109) Thu Apr 18 08:13:55 2002 No locked files Prior to last Thursday I could map my I: drive to the inv-fin share on server alpha-ems2. But now, here is what happens when I try to connect from my Windows 2000 computer using net use (which used to work just fine): net use i: \\alpha-ems2\inv-fin The password or username is invalid for \\alpha-ems2\inv-fin This is so strange, as just last week I NEVER had a problem connecting to this Samba share! Here is the entire content of my smb.conf file on server alpha-ems2, which has remained unchanged for over a year: [global] security=domain workgroup=EMSPHX encrypt passwords = yes password server = EMSINTERNET PHX2K add user script = /usr/local/samba/bin/add_user [inv-fin] guest account = applmgr guest ok = yes path = /u07/app/appuappl/admin/reports/out public = yes read only = yes [temp] guest ok = no path = /temp writeable = yes valid users = dmilczar ikahn dgeddes I have run Have you any ideas where I might look for a solution? Darryl Milczarek CIO, Equipment Maintenance Services Phoenix, AZ darryl.milczarek@emsusa.com
-----Original Message----- From: morgan31@libero.it [mailto:morgan31@libero.it] Sent: Tuesday, July 23, 2002 12:52 PM To: samba@lists.samba.org Subject: [Samba] NT_STATUS_ACCESS_DENIED>User linux01$ does not exist in system password file >(usually /etc/passwd). Cannot add account without a valid local systemjust remember that smb have its own user database normaly in RH /etc/samba/smbpasswd hth -Adriaan
1. Be sure the LINUX01 (computer) has been added to the domain. 2. (as root) smbpasswd -j DOMTEST -r PDC Don't add the -U user, and see if that works. Jim> -----Original Message----- > From: morgan31@libero.it [mailto:morgan31@libero.it] > Sent: Tuesday, July 23, 2002 3:52 AM > To: samba@lists.samba.org > Subject: [Samba] NT_STATUS_ACCESS_DENIED > > > Hi list, > I'm running samba 2.0.7 on SuSE Linux. > I'd like to join into NT domain and my /etc/smb.conf file looks like: > [global] > workgroup = DOMTEST > security = server > password server = PDC > netbios name = LINUX01 > domain logons = yes > encrypt passwords = yes > local master = no > interfaces = 10.1.3.102/255.255.255.0 > bind interfaces only = no > guest account = nobody > keep alive = 30 > os level = 20 > announce as = NT > announce version = 4.2 > kernel oplocks = false > printing = bsd > printcap name = /etc/printcap > load printers = yes > socket options = TCP_NODELAY > map to guest = Bad User > wins support = no > domain master = yes > debug level = 4 > > When I invoke the command: > smbpasswd -j DOMTEST -r PDC -U user > it returns: > pm_process() returned Yes > added interface ip=10.1.3.102 bcast=10.1.3.255 nmask=255.255.255.0 > resolve_lmhosts: Attempting lmhosts lookup for name PDC<0x20> > resolve_hosts: Attempting host lookup for name PDC<0x20> > Connecting to 10 > .1.1.1 at port 139 > cli_net_auth2: Error NT_STATUS_ACCESS_DENIED > cli_nt_setup_creds: auth2 challenge failed > modify_trust_password: unable to setup the PDC credentials to machine > PDC. Error was : NT_STATUS_ACCESS_DENIED. > 2002/07/23 14:46:20 : change_trust_account_password: Failed to change > password for domain DOMTEST. > Unable to join domain DOMTEST. > > I've tryed to add a machine with the command: > smbpasswd -a -m linux01 but it wasn't successfull, so I've created a > user named linux01 and by running > the same command again the error was: > > User linux01$ does not exist in system password file > (usually /etc/passwd). Cannot add account without a valid > local system > user. > Failed to modify password entry for user linux01$ > > But linux01 exists in the /etc/passwd file! > > Any suggestions? > Thanks.N