[Samba] smbpasswd on solaris clients

2007-09-03 Thread James Craig



I may be mixing water and oil here, but with a recent upgrade
I am discovering our solaris clients aren't able to update samba
passwords.

Our server is running 2.2.12  (I intend to upgrade to 3.0.x when
I get LDAP working) with it's own password database.

If I use the smbpasswd that came with 2.2.12 on the solaris clients
everything works.  however if I use the smbpasswd that comes with
blastwave (3.0.23) on the x86 solaris machines,

I get this error:

Could not connect to machine xxx.xxx.xxx.xxx: NT_STATUS_LOGON_FAILURE
Failed to change password for username


the server throws this into the logs:

[2007/09/03 15:41:21, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user '\username' in passdb.
[2007/09/03 15:41:21, 2] smbd/reply.c:reply_sesssetup_and_X(997)
  NT Password did not match for user '\username'!
[2007/09/03 15:41:21, 2] smbd/reply.c:reply_sesssetup_and_X(1007)
  Defaulting to Lanman password for \username
[2007/09/03 15:41:21, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user '\username' in passdb.
[2007/09/03 15:41:21, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
  Rejecting user '\username': authentication failed
[2007/09/03 15:41:21, 2] smbd/server.c:exit_server(511)
  Closing connections



I have not had to create machine accounts for the client machines
before.  Is this something I need to change?  Do I need to flesh
out the currently empty smb.conf on the client machines?
Is the problem due to my attempt to mix client and server versions,
or does blastwave compile their smbpassword to expect a certain style
of server?


jim craig

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbd still crashes [3.0.25b + solaris 9 + openldap]

2007-08-25 Thread James Craig



I have been having this problem for some time.

When I try to run samba compiled with openldap, smbd starts up then crashes
with this error:

===
INTERNAL ERROR: Signal 11 in pid 1090 (3.0.25b)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===
PANIC (pid 1090): internal error
unable to produce a stack trace on this platform
dumping core in /local/samba/var/cores/smbd
Abort


I asked about this in the past, (early June, iirc) and I thought others
were having the same problem but I don't see any resolution to this.


If I recompile samba to use the native solaris libraries it looks like
the system works, howeve I can not use ssl or starttls to communicate with
the ldap server. I don't want to do this if I can avoid it.


Any help would be appreciated.


jim craig
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] continued problem starting samba

2007-07-03 Thread James Craig


I haven't been able to resolve this issue yet.  I started seeing this
on my server when trying to migrate to LDAP with 3.0.24.  I have
since grabbed 3.0.25b and built that as well, but smbd will not
start.  When I run it  with -i I get this:

[..]
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
Got nobody from pwnam_cache
Got nobody from pwnam_cache
sys_getgrouplist: user [nobody]
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
===
INTERNAL ERROR: Signal 11 in pid 19224 (3.0.25b)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===
PANIC (pid 19224): internal error
unable to produce a stack trace on this platform
dumping core in /local/samba/var/cores/smbd
Abort



I am using openldap on a Solaris 9 server.
It looks like I am talking to the server at first,
so I am not sure where the issue is..

jim craig


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba 3.0.24 + openldap + solaris won't start up

2007-05-31 Thread James Craig

On Wed, 30 May 2007, Gerald (Jerry) Carter wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James Craig wrote:


sys_getgrouplist: user [nobody]
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
===
INTERNAL ERROR: Signal 11 in pid 27597 (3.0.24)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===
Segmentation Fault


Seems identical to this bug (but doesn't look like you
posted it):
 https://bugzilla.samba.org/show_bug.cgi?id=4629

Do any of my comments/questions in the report apply to you?


That looks like the problem I am seeing too. (sorry I didn't see
that report before posting!)

I compiled samba against the openldap libraries,
but the server I am runing on uses the native client libraries
for itself.


From your comments in the bug, I did check that the system is
running /usr/sbin/nscd.  The system itself is using the native
solaris ldap client,  and it's native nss_ldap

I am not certain how to specify the samba server to use nscd over
nss, so I can't tell you exactly which one is being used during
smbd's startup.


jim craig
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba 3.0.24 + openldap + solaris won't start up

2007-05-30 Thread James Craig



I have been planning for some time to change our systems over to
openldap.  This morning was that time and for the most part things
went as well as expected.  Except for samba.

my test systems worked.  I moved things to the production server and
it won't start up.  As far as I can tell I have done it all the same
(save the SID, etc) but smbd won't start.

I have been trying to get SOME info on why it won't start, but all
I can get is this:

[..]
regdb_close: decrementing refcount (2)
regdb_close: decrementing refcount (1)
regdb_close: decrementing refcount (0)
update_c_setprinter: c_setprinter = 0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pdb_getsampwsid: Building guest account
pdb_set_username: setting username nobody, was 
pdb_set_full_name: setting full name Nobody, was 
pdb_set_domain: setting domain CSLAB, was 
pdb_set_user_sid: setting user sid S-1-5-21-big-number-501

pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-big-number-501 from rid 501
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
Got nobody from pwnam_cache
Got nobody from pwnam_cache
sys_getgrouplist: user [nobody]
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
===
INTERNAL ERROR: Signal 11 in pid 27597 (3.0.24)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===
Segmentation Fault

[root]-mordor[205]:




Whatever information I can get to the list I will, but I am not
sure where to look mext.  The HOWTO.pdf didn't seem to help me
with this (maybe I missed something?)


any help would be appreciated!


jim craig
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba