[Samba] Netware 5.0 to Samba/LDAP migration

2005-06-06 Thread Dean Landry
I'd like to migrate a Netware 5.0 serve to Samba and LDAP. I'm
wondering how I might export the usernames, passwords, and perhaps
group memberships to the destination LDAP. If I can get the data into
LDIF form, I'm okay from there. Does anyone know how the passwords in
Netware 5.0 are encrypted? I hope to bring them over, but reseting the
passwords is not out of the question (just inconvenient).

Thanks,

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


[Samba] 'add machine script' broken after upgrade to RHEL AS 4

2005-02-21 Thread Dean Landry
I just upgraded to Redhat Enterprise Linux AS 4 and now my 'add machine 
script' doesn't work.  If I run the command manually from the console, I 
get this error:

useradd: invalid user name 'machinename$'
I figured this is because of the '$' at the end of the machine name.  I 
think the useradd command is part of Shadow-utils.  RHEL AS 4 is using 
shadow-utils-4.0.3-41.1 (RHEL AS 3 was using shadow-utils-4.0.3-22.02).
Does anyone know if this is in fact the problem?  Also, I know I can add 
the machine name without the '$' and then edit /etc/passwd to put it 
back, but is there a way to automate this with the 'add machine script'?

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


[Samba] Migration to Samba

2004-11-11 Thread Dean Landry
I'm migrating to Samba on about 50 desktops.  After I join the domain 
(this is on Windows 2k or XP) I get a whole new set of settings (under 
documents and settings).  Is there a way to tell Windows to use the old 
directory?  It matches their username on samba if that helps.  Note, I'm 
using local profiles.

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


[Samba] Login scripts based on group

2004-11-10 Thread Dean Landry
I have users that belong to several groups.  I want a logon script to be 
run for each of the groups to which a user belongs.  For example, when I 
logon, I want admin.bat, users.bat, and someothergroup.bat to run.  On 
Novell I used to use 'if Member of groupName...', but I don't know how 
to do this in Samba..

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


Re: [Samba] Login scripts based on group

2004-11-10 Thread Dean Landry
Misty Stanley-Jones wrote:
On Wednesday 10 November 2004 08:05, Simon Hobson wrote:
 

Dean Landry wrote:
   

I have users that belong to several groups.  I want a logon script
to be run for each of the groups to which a user belongs.  For
example, when I logon, I want admin.bat, users.bat, and
someothergroup.bat to run.  On Novell I used to use 'if Member of
groupName...', but I don't know how to do this in Samba..
 

Two ways :
1) Use ifmember in the main login script to check for group
membership and call the appropriate scripts. ifmember is (IIRC)
downloadable from the Microsoft web site.
2) Use the pre-exec facility of Samba to build a users login script
on the fly each time they connect to the netlogon share. Use %u
(again, IIRC) in the declaration of the login script parameter so
that each users uses their own script, then write a script (executed
on the host) that will build the login script (which of course can
use any information available to the host scripting language) and set
it as the pre-exec script for the share.
   

3.  Use Kixtart!  It's perfect, it works for all versions of Windows, it's 
very easy, and you will be able to script things you haven't even thought of 
yet.

Misty
 

I don't think I want to think of new things to do in a logon script!  
:)  ifmember is working beautifully!  Thanks Simon!

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


RE: [Samba] Etiquette question

2004-09-03 Thread Dean Landry
I believe it is when you put your reply above someone else's message

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jim C.
Sent: Thursday, September 02, 2004 5:39 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Etiquette question

What exactly is top posting?  I thought that was when someone responds 
to the very first message instead of the latest one.

Jim C.
-- 
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-

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


INSTEAD OF DOWN HERE!!!  It just makes the sequence of reading an entire
thread a bit confusing if you don't know where to read/look for the
response.

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


[Samba] Windows XP SP2 doesn't login to SAMBA domain

2004-09-02 Thread Dean Landry
Hello,

We have a samba server for our computer lab.  Currently all the machines are
either windows 98 or windows 2000.  The 98 machines are assigned to the
'INTRANET' workgroup, while the windows 2000 machines are part of the
'INTRANET' domain.  We have no problems with this setup.

I'm now trying to deploy Windows XP (sp2) computers to this lab.  I'm
constantly getting errors about not being able to access the server (e.g.
Windows cannot connect to the domain, either because the domain controller
is down or otherwise available, or because your computer account was not
found).  Note, I was successfully able to join the computer to the domain (I
created the machine account on samba first).  Also, browsing the network
shares works fine.

I've tried the following:

- added an lmhosts file with a '\0x1b' entry for the domain
- told the XP client to use the samba machine for WINS
- disabled 'Domain Member:Digitally encrypt or sign secure channel data
(always)'
- enabled NetBIOS over TCP/IP
- disabled Windows Firewall

It sounds to me like a resolution issue (there are no entries in the log.smb
file), but I'd expect the WINS and/or lmhosts to fix that.

Any ideas?

Thanks,

Dean


More INFO:

Running Samba Version 2.2.3a-13 for Debian


smb.conf:

[global]
interfaces = 192.168.1.0/24
bind interfaces only = yes
hosts allow = 192.168.1. 127.
netbios name = public
netbios aliases = student
server string = File  Print Server
workgroup = INTRANET
remote announce = 192.168.1.255/INTRANET
domain master = yes
domain logons = yes
preferred master = yes
local master = yes
os level = 34
  wins support = yes
name resolve order = wins hosts lmhosts bcast
dns proxy = yes
security = user
invalid users = bin daemon adm sync shutdown halt mail news sys uucp
operator gopher
browseable = no
guest ok = no
encrypt passwords = yes
null passwords = no
password level = 0
unix password sync = yes
domain admin group = @admin
add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
passwd program = /usr/bin/passwd %u
passwd chat = *old*password* %o\n *new*password* %n\n *new*password*
%n\n *changed*
logon script = %u.bat
logon path =
logon home =
[netlogon]
comment = The domain logon service
path = /home/public/netlogon
writeable = no
write list = @admin
force group = users
[homes]
comment = Files stored here are not accessible by others
writable = yes
[apps]
path = /home/public/apps
volume = Apps
comment = These applications are free for everyone to use
writable = no
read list = @admin,@users
write list = @admin,@users
force group = users


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


RE: [Samba] Windows XP SP2 doesn't login to SAMBA domain

2004-09-02 Thread Dean Landry
I haven't gone samba3 yet because Debian Stable has stuck with 2.2.3a-13.
Do you think Samba 3 will fix the problems with XP?

Also, Windows products are far more vulnerable when not up-to-date than
Linux products :)

Dean

-Original Message-


Hi,

Why keep your XP pcs updated with the latest while neglecting your Samba?

I would atleast do an upgrade to v2.2.11.

Bri-


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


RE: [Samba] Windows XP SP2 doesn't login to SAMBA domain

2004-09-02 Thread Dean Landry
Something interesting I just encountered:

www:/etc/samba# smbclient -L localhost

added interface ip=192.168.1.251 bcast=192.168.1.255 nmask=255.255.255.0
wins_srv_died(): Could not mark WINS server 127.0.0.1 down.
Address not found in server list.
error connecting to 127.0.0.1:139 (Connection refused)
Error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed
www:/etc/samba#

Does this mean WINS on Samba isn't working?

Dean

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dean Landry
Sent: Thursday, September 02, 2004 1:42 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Windows XP SP2 doesn't login to SAMBA domain

Hello,

We have a samba server for our computer lab.  Currently all the machines are
either windows 98 or windows 2000.  The 98 machines are assigned to the
'INTRANET' workgroup, while the windows 2000 machines are part of the
'INTRANET' domain.  We have no problems with this setup.

I'm now trying to deploy Windows XP (sp2) computers to this lab.

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


RE: [Samba] Re: Windows XP SP2 doesn't login to SAMBA domain

2004-09-02 Thread Dean Landry
I'm taking the plunge to Samba 3.0.6.  This better not break anything that
already works! :)

Dean

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Michael Lueck
Sent: Thursday, September 02, 2004 2:20 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Re: Windows XP SP2 doesn't login to SAMBA domain

Dean Landry wrote:

 I haven't gone samba3 yet because Debian Stable has stuck with 2.2.3a-13.
 Do you think Samba 3 will fix the problems with XP?

As the Debian stable packager for Samba has mentioned on this list, he
double pakcages. Samba 2.x is available at debian.org, Samba 3.x (for Debian
stable) is available from samba.org

GO GET IT

-- 
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.

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

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


RE: [Samba] Re: Windows XP SP2 doesn't login to SAMBA domain

2004-09-02 Thread Dean Landry
Hey!  It worked!  Now, who can tell me where the upgrade moved my
smbpassword file to?  Is it still plain text?

Also, how do I have the XP client run the login script that 2K runs?

Thanks,

Dean

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


RE: [Samba] Re: Windows XP SP2 doesn't login to SAMBA domain

2004-09-02 Thread Dean Landry
Unfortunately I don't have a test box at this point :)  Just a week until
students return to the lab.  :)  I've gotten everything to work now.  Login
scripts worked once I disabled sendfile.  Everything should be working fine
now.

I must say, this is the most responsive and helpful mailing list I've ever
joined!

Thanks

Dean



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Michael Lueck
Sent: Thursday, September 02, 2004 3:07 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Re: Windows XP SP2 doesn't login to SAMBA domain

Dean Landry wrote:

 Hey!  It worked!  Now, who can tell me where the upgrade moved my
 smbpassword file to?  Is it still plain text?

It all depends on your smb.conf... Ja I still use the smbpasswd backend,
other back ends are supported...

Ah, and you do realize it is wize to test new code on a test box, not your
production box. (Just like the reason they put seat belts in cars...) ;-)

-- 
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.

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

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