Displaying 13 results from an estimated 13 matches for "smb_create_user".
2004 Oct 25
2
Fail in add user script
Dear all,
I have a problem with adduser script in smb.conf.
I traing to log in WinXP as a user from trusted domain. But it writes
me alwais this fail:
useradd: unable to lock password file
[2004/10/21 14:00:53, 3] auth/auth_util.c:smb_create_user(53)
smb_create_user: Running the command `/usr/sbin/useradd -m veronika'
gave 1
My add user script in smb.conf:
add user script = /usr/sbin/useradd -m %u
Please can you help me??
Best regards, Sopik Bronislav
2006 Apr 24
0
Trusted domain want to add users in the trusting domain ?
...nB S-1-5-21-575847380-1121575906-1599857423
When "john" authenticates on domainB, he tries to mount a share of a server
of domainA. And when it does this, I see these logs on the PDC of domainA :
Apr 24 14:04:19 SambaPDC smbd[14805]: [2006/04/24 14:04:19, 0]
auth/auth_util.c:smb_create_user(49)
Apr 24 14:04:19 SambaPDC smbd[14805]: smb_create_user: Running the command
`/opt/IDEALX/sbin/smbldap-useradd -m "john"' gave 126
Apr 24 14:04:19 SambaPDC smbd[14805]: [2006/04/24 14:04:19, 0]
auth/auth_util.c:smb_create_user(49)
Apr 24 14:04:19 SambaPDC smbd[14805]: smb_create...
2005 Jan 04
2
Problems on HP-UX 11i with 'user add script'
...e. What's worse, it seems to
occasionally work and sometimes not. I am attempting to log into a domain
(DOMA let's say) and I only have an account on DOMB. When DOMA's Samba PDC
attempts to create a UNIX account for me, this is what happens:
[2005/01/04 15:47:15, 3] auth/auth_util.c:smb_create_user(53)
smb_create_user: Running the command `/usr/sbin/useradd -g guestsmb -c "<Samba tmpwacc Temp Guest Account>" -s /bin/false tmpwacc' gave 1
[2005/01/04 15:47:15, 3] auth/auth_util.c:make_server_info_info3(1127)
User tmpwacc does not exist, trying to add it
Permission Den...
2002 Jul 31
1
How to create Computer Account without 'hands'?
...2/07/31 20:40:27, 0] passdb/pdb_ldap.c:pdb_getsampwnam(858)
LDAP search "(&(uid=ivc-scan2_)(objectclass=sambaAccount))" returned 0 entries.
[2002/07/31 20:40:27, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
pop_sec_ctx (503, 503) - sec_ctx_stack_ndx = 0
[2002/07/31 20:40:27, 3] smbd/reply.c:smb_create_user(543)
smb_create_user: Running the command `/usr/local/sbin/smbldap-useradd.pl ivc-scan2$' gave 126
[2002/07/31 20:40:27, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(1929)
User ivc-scan2$ does not exist in system password file (usually /etc/passwd). Cannot add account without a valid l...
2007 Oct 22
3
Samba "hijack" the connection?
...bd[7680]: smbldap_open_connection: connection
opened
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
smbd/reply.c:reply_tcon_and_X(711)
Oct 21 15:36:06 centos5 smbd[7680]: Serving IPC$ as a Dfs root
Oct 21 15:36:07 centos5 smbd[7680]: [2007/10/21 15:36:07, 0]
auth/auth_util.c:smb_create_user(55)
Oct 21 15:36:07 centos5 smbd[7680]: smb_create_user: Running the command
`/usr/sbin/useradd test2' gave 126
Oct 21 15:36:07 centos5 smbd[7680]: [2007/10/21 15:36:07, 0]
libsmb/samlogon_cache.c:netsamlogon_cache_store(124)
Oct 21 15:36:07 centos5 smbd[7680]: netsamlogon_cache_store:...
2004 Jan 14
0
SAMBA 2.2.8a PDC with OpenLDAP automatcally adding machine account
...))]
[2004/01/12 20:08:29, 0] passdb/pdb_ldap.c:pdb_getsampwnam(940)
LDAP search "(&(uid=ramas_)(objectclass=sambaAccount))" returned 0
entries.
[2004/01/12 20:08:29, 3] smbd/sec_ctx.c:pop_sec_ctx(436)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/01/12 20:08:29, 3] smbd/reply.c:smb_create_user(543)
smb_create_user: Running the command `/usr/local/sbin/smbldap-useradd.pl
-w -d /dev/null -g "Domain Computers" -s /bin/false' gave 1
[2004/01/12 20:08:29, 0]
rpc_server/srv_samr_nt.c:_api_samr_create_user(1934)
User ramas$ does not exist in system password file (usually
/etc/...
2004 Aug 06
0
samba & winbind with AD 2K auth problem
...cord does not
exist.
[2004/08/06 15:51:02, 3] smbd/server.c:exit_server(611)
Server exit (connection denied)
[2004/08/06 15:51:02, 3] smbd/sesssetup.c:reply_spnego_kerberos(180)
Ticket name is [Support@C.COM]
useradd: invalid user name 'Support'
[2004/08/06 15:51:02, 3] auth/auth_util.c:smb_create_user(53)
smb_create_user: Running the command `/usr/sbin/useradd -s /bin/false Support'
gave 3
[2004/08/06 15:51:02, 1] smbd/sesssetup.c:reply_spnego_kerberos(248)
Username C-S+Support is invalid on this system
[2004/08/06 15:51:02, 3] smbd/error.c:error_packet(118)
error packet at smbd/sessse...
2005 Apr 25
0
Windows VBSscript and test.sh execution in /tmp/public in AIX 5.3
...in=[HFP] NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2005/04/22 12:21:36.190221, 3, pid=19888, effective(0, 0), real(0, 0)] smbd/reply.c:reply_sesssetup_and_X(809)
sesssetupX:name=[IUSR_HOPPER]
[2005/04/22 12:21:36.299344, 3, pid=19888, effective(0, 0), real(0, 0)] smbd/reply.c:smb_create_user(505)
smb_create_user: Running the command `' gave 0
[2005/04/22 12:21:36.312901, 3, pid=19888, effective(0, 0), real(0, 0)] smbd/reply.c:reply_sesssetup_and_X(952)
No such user iusr_hopper - using guest account
[2005/04/22 12:21:36.315646, 3, pid=19888, effective(0, 0), real(0, 0)] smbd/pas...
2005 Sep 30
3
Differences with net join
All;
I'm getting closer to tracking down my problem (I hope).
Since I want samba to verify the windows users from the Windows
domain, I did the usual net join. But it still doesn't get the users
from there, I still need an smbpasswd file.
So... now the question (for the real samba gurus):
Is there a substantial difference between:
net ads join -w <domain/workgroup>
and
net rpc
2002 Dec 12
3
lprm command not getting called.
I have configured Samba on both a RH Linux 7.2 box and Solaris 8 box and am
not able to remove print jobs. The lprm command is not getting called. I
know that for a fact because I changed lprm command to equal a script which
will log when it is called. And that script is never called. There are no
errors in any log files - system or samba.
The printing parts of the smb.conf file are:
2003 Dec 01
0
No subject
...nsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi Richard,
Just looking quickly, what I see from lines in your log file:
[2001/06/25 16:10:05, 3] smbd/reply.c:smb_create_user(507)
smb_create_user: Running the command `' gave 0
[2001/06/25 16:10:05, 3] smbd/reply.c:reply_sesssetup_and_X(954)
No such user rworwood - using guest account
Indicate that there is no unix user 'rworwood'; (it is trying to create one
on the fly, but your smb.conf file is not se...
2003 Dec 01
0
No subject
...mccall@hp.com]
Sent: 25 June 2001 19:30
To: 'Worwood, Richard'; MCCALL,DON (HP-USA,ex1); 'Andrew Nelson';
samba@samba.org
Subject: RE: Password / User Authentication...
Hi Richard,
Just looking quickly, what I see from lines in your log file:
[2001/06/25 16:10:05, 3] smbd/reply.c:smb_create_user(507)
smb_create_user: Running the command `' gave 0
[2001/06/25 16:10:05, 3] smbd/reply.c:reply_sesssetup_and_X(954)
No such user rworwood - using guest account
Indicate that there is no unix user 'rworwood'; (it is trying to create one
on the fly, but your smb.conf file is not se...
2003 Dec 01
0
No subject
...t API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_CREATE_USER
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
smb_create_user: Running the command `/usr/sbin/adduser -n -g machines -c
Machine -d /dev/null -s /bin/false themaster$' gave 127
User themaster$ does not exist in system password file (usually
/etc/passwd). Cannot add account without a valid local system user.
free_pipe_context: destroying talloc pool of s...