Samba 2.2.7a - add user script only worked the first time
I have WinXP machines loging into a samba domain. I am using this add user script: add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u This worked beautifully with the first WinXP machine I set up. I immediately booted up a second machine and got the "Access Denied" error. I have tried two more computers since and keep getting the same thing but the first machine still logs in and out fine. The samba.log keeps saying that the user does not exist on the domain. All of my WinXP machines were ghosted from the same image so I don't believe the problem is on that side. Any ideas? -Allen ---------------------------- Allen Seelye "DeadTOm" Aseelye@blackfoot.net ICQ# 8286205
On 06/21/2003 12:25 AM, Allen wrote:
I have WinXP machines loging into a samba domain. I am using this add user script:
add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u
This worked beautifully with the first WinXP machine I set up. I immediately booted up a second machine and got the "Access Denied" error. I have tried two more computers since and keep getting the same thing but the first machine still logs in and out fine. The samba.log keeps saying that the user does not exist on the domain.
Any ideas? -Allen
IIANM, that will only add the user to the Linux system, not to samba, it is separate, though I believe samba users DO have to be system users as well, but not all system users are samba users. See man smbpasswd. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Friday 20 June 2003 8:02 pm, Joe Morris (NTM) wrote:
On 06/21/2003 12:25 AM, Allen wrote:
I have WinXP machines loging into a samba domain. I am using this add user script:
add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u
This worked beautifully with the first WinXP machine I set up. I immediately booted up a second machine and got the "Access Denied" error. I have tried two more computers since and keep getting the same thing but the first machine still logs in and out fine. The samba.log keeps saying that the user does not exist on the domain.
Any ideas? -Allen
IIANM, that will only add the user to the Linux system, not to samba, it is separate, though I believe samba users DO have to be system users as well, but not all system users are samba users. See man smbpasswd.
-- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Oops, I guess the last email I sent only went to the last guy that responded and not to the list. The problem was the names I was using. We use the machines serial number as its computer name on the network. Some of those serial numbers start with numbers and some start with letters. It just so happened that the first one I tried started with a letter and the others started with numbers. Linux doesn't allow user names that start with numbers so it wasn't allowing the script to enter the username. I changed all the computer names so they start with "PC" and they all work fine. Creates both system and samba names without a hitch. For some reason this didn't show up in the samba.log. I found out by attempting to manually run the script via ssh and got a "invalid user name" error.
Hi I was wondering if anyone has a preference or what has the best interphase for syncing a Palm Tungsten T to SuSE Linux ? And is the KDE or GNOME envirnoment better for this ? I am a KDE fan, but I will try anything. Rich -- Richard A Sharpe DBA - DB2/Sybase/Oracle/Sqlserver Merrimack, NH 03054
In a previous message, Richard Sharpe
I was wondering if anyone has a preference or what has the best interphase for syncing a Palm Tungsten T to SuSE Linux ? And is the KDE or GNOME envirnoment better for this ? I am a KDE fan, but I will try anything.
I use JPilot to sync my Tungsten T on 8.2, but anything that sits on top of pilot-link would work - you just need to find the solution that meets your needs. If you use KDE, the first point of call is probably KPilot, which I've not used (JPilot is Gtk2 based, although you could also use one of its built-in colour schemes). JPilot has excellent plugin support, including a very good backup plugin and AvantGo and Plucker support. Evolution is the other major contender, but you might find that it's overkill if all you want is to sync your Palm, and it doesn't support Memos. Whatever you choose will work in either KDE or Gnome, but if it's Gtk based it won't look the same as the KDE apps (and vice versa for Qt apps in Gnome, of course). One note of caution - the Tungsten won't sync with anything before 8.2 unless you rebuild the visor module (not hard - just needs a couple of lines adding to include the ID of the new devices). I've also had some problems with stability on my machine, but this might be dodgy hardware. HTH John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
On Tuesday 24 June 2003 08:31, Richard Sharpe wrote:
I was wondering if anyone has a preference or what has the best interphase for syncing a Palm Tungsten T to SuSE Linux ? And is the KDE or GNOME envirnoment better for this ?
I use jpilot (gnome-based interface) running in KDE - works great. I have tried to work with Kpilot, but it seems less intuitive and rather limited in its functionality compared to jpilot. I tried working with Evolution, and that was a nightmare (felt sort of like trying to parallel-park a big, fat SUV into a narrow spot - way too bloated). - Thomas Long -- Using SuSE Linux 8.2
participants (6)
-
Allen
-
Allen Seelye
-
Joe Morris (NTM)
-
John Pettigrew
-
Richard Sharpe
-
Thomas Long