Re: [Samba] Can't log in, but logs say auth succeeded?

2005-04-10 Thread Ben Davis
to update the SIDs of all my users? maybe I'll just write a script... Anyways, it works now :-) now onto the more complex stuff :-P Ben Davis wrote: I've just gotten my first machine to join the domain, and now I'm trying to log in as a normal user. I get this error in windows &

[Samba] Can't log in, but logs say auth succeeded?

2005-04-10 Thread Ben Davis
I've just gotten my first machine to join the domain, and now I'm trying to log in as a normal user. I get this error in windows "The system could not log you on. Make sure your username and password are correct (bla bla...)". However, when I check the log for that machine it says at the end

Samba binding anonymously (was: Re: [Samba] smbldap-tools not playing nice w/ samba ?)

2005-04-08 Thread Ben Davis
my ACLs are set up to deny access for anonymous binds. My conf file is set up to bind with the cn=Manager dn. Why would Samba ever bind to ldap anonymously? Tony Earnshaw wrote: tor, 07.04.2005 kl. 20.10 skrev Ben Davis: I tried this and it still did not work. The problem as far as I can

Re: [Samba] smbldap-tools not playing nice w/ samba ?

2005-04-08 Thread Ben Davis
Tony Earnshaw wrote: tor, 07.04.2005 kl. 20.10 skrev Ben Davis: I tried this and it still did not work. The problem as far as I can tell is that samba is not even attempting to search for the user after it adds it. The very last operations in my slapd.log after the error occured, were

Re: [Samba] smbldap-tools not playing nice w/ samba ?

2005-04-07 Thread Ben Davis
The change you've made was the same. Going up to the root level of LDAP and set a sub search. No way. The solution was to put TWO nss_base_passwd lines: nss_base_passwd ou=Users,dc=liga-acb,dc=es?one nss_base_passwd ou=Computers,dc=liga-acb,dc=es?one Try it and let me know... Ben Davis wrote:

Re: [Samba] smbldap-tools not playing nice w/ samba ?

2005-04-07 Thread Ben Davis
Joaquin wrote: Ben Davis wrote: Please help! I'm having a difficult time getting a machine to join my domin. Samba sucessfully adds the machine account using the smbldap-useradd -w script, but I get the error "The user name could not be found". Here's what it looks like it

[Samba] smbldap-tools not playing nice w/ samba ?

2005-04-06 Thread Ben Davis
Please help! I'm having a difficult time getting a machine to join my domin. Samba sucessfully adds the machine account using the smbldap-useradd -w script, but I get the error "The user name could not be found". Here's what it looks like it's doing in the ldap logs: 1. There's a login as

[Samba] Strange LDAP add machine problem

2005-04-04 Thread Ben Davis
I'm setting up a Samba/LDAP PDC (samba-3.0.13 / openldap-2.1.30) and I'm trying to join a machine (called "melisa") to the domain. When I try to join the domain, I type in the Administrator (which maps to root) credentials. and after a few seconds I get a windows error that says: The followi

[Samba] Samba odd behaviour on double NAT network

2003-11-30 Thread Ben Davis
o 2.x on lin1, as all the other linux hosts are running 2.x -- to no avail. I just don't understand that if the Winbox can make a connection to the shared volumes on every other Linux box and read/write files, why should it have a problem with lin1; apart from the fact that it&

Re: [Samba] PDC Machine Trust Accounts

2003-11-25 Thread Ben Davis
I'm currently using a MySQL backend for samba.. I have it working for existing unix users. What I was thinking about doing is using the pam_mysql module to "trick" samba into thinking the unix account already exists, while it is actually just in the database. This means, though, that I would

[Samba] PDC Machine Trust Accounts

2003-11-25 Thread Ben Davis
I read in the Samba HOWTO Collection that every machine in the domain needs to have a corresponding UNIX account. Does this mean whenever I add a machine to the network, I must create a UNIX account for each one?? Am I supposed to create Unix accounts for my users as well? Doesn't this defea

Re: [Samba] Samba + MySQL

2003-11-25 Thread Ben Davis
That's the query for receiving the data that is failing. What have you set the 'unknown 5 column' to? Here are the columns I've set to null in my smb.conf file: ("users" is the mysql identifier). users:plain pass column = NULL users:unknown 6 column = NULL users:acct desc co

Re: [Samba] Samba + MySQL

2003-11-25 Thread Ben Davis
If you don't want to store this field in the database, set the value of 'identifier:unknown string column' to NULL: I forgot to mention that I did that for those fields, and after a little more troubleshooting I found that in order to add a user, the columns "logon_divs" "hours_len" are re

[Samba] Samba + MySQL

2003-11-25 Thread Ben Davis
I'm having some trouble setting up the config file for samba + mysql. I've got most everything working, but I'm a bit confused about how I'm supposed to set up the database. If anyone knows someone else who can better answer this question, please forward this message. I can't seem to exclude