[Samba] Samba + LDAP + FreeBSD + a HOWTO

2003-03-30 Thread Adam Smith

Hi all!  I am having some trouble with the above equation.  Firstly:

Samba   == samba-2.2.8
LDAP== openldap21-2.1.12
   pam_ldap-1.6.1
FreeBSD == FreeBSD 5.0
HOWTO   == http://samba.idealx.org

I have been following the HOWTO at samba.idealx.org, and so far I've found
it extremely informative for someone who wants to get LDAP up and running
with Samba, and who has never used LDAP before.

On page 13 (lucky for some) of this HOWTO, I ran into problems.  It began
talking about using the smbldap-tool kit which I had installed on my
system.  The following command ran correctly:

smbldap-useradd.pl -m testuser1

This command failed:

smbldap-passwd.pl testuser1

Returning:

Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl line
165,  line 2.

Is this an issue with the toolkit, with FreeBSD, or with something else?  I
do not know Perl well enough to begin troubleshooting this problem either,
unfortunately.  Is there anyone who has had experience with this setup that
can assist me in working out what is going wrong?

Thankyou :)


-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] I want to add to your maillist!

2003-03-29 Thread Adam Smith
On Sat, 29 Mar 2003 11:07:48 +0800
<[EMAIL PROTECTED]> wrote:

> But I know little about maillist

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


Re: [Samba] mp3 files still not playing

2003-03-19 Thread Adam Smith
On Wed, 19 Mar 2003 18:48:07 +0100 (MET)
Christian Raack <[EMAIL PROTECTED]> wrote:

> well I have done all this(not only with winamp)...no chanceyesterday I
> tried it with a linux client (suse 8.0 as well) on the same machine the win
> 98
> client was running before and it does not work neither - then I was mounting
> the share with NFS and i could play the mp3 files!!!  ...quite strange isn't
> it
> there is still no problem copying the same mp3-files from the server to the
> win98 clients using samba..
> and there is still no problem playing the mp3-files with winamp or whatever
> from a win-xp client

Do they play fine on the server or haven't you tried?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Change somebody else's domain password?

2003-03-17 Thread Adam Smith
On Mon, Mar 17, 2003 at 08:04:26AM -0600, Genchev, Sergei said:

>  The remote machine is Windows NT 4.0 PDC.

Oh I see.  I thought it was Linux :/

> Can you log in to that remote machine as yourself or some other user, 
> and then su to root?
> 
> Genchev, Sergei wrote:
> 
> > Login as root and do what? Root can change local smbpasswd file but if I
> >use smbpasswd to change password on a remote machine (PDC) I need to supply
> >username and old password, it does not matter whether I am root or not on a
> >local machine

-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Change somebody else's domain password?

2003-03-15 Thread Adam Smith
On Fri, Mar 14, 2003 at 10:05:08AM -0600, Genchev, Sergei said:
>  Hi,
> 
>  I am trying to find a way to change NT4 domain password from linux.
> smbpasswd works fine if you know user's old password but I am looking for a
> way to connect to PDC using all-mighty Administrator credentials and change
> other user's password.

Log in as root.


-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba for Windows? :P

2003-03-13 Thread Adam Smith
On Fri, Mar 14, 2003 at 03:37:26PM +1100, Kuan Bartel said:
> 
> Hi,
>just wondering if anyone had ever though about making a port of Samba 
> for windows.  Now you may think "What's the point?"  Well I'll tell you if 
> you had as much control over smb as you have with Samba then you wouldn't 
> need it for windows..

I agree Samba is an extremely powerful utility, and part of that has to do
with the fact that it's based upon "unix" design -- flat text file
configurations, and integration with the Unix subsystem of course, etc.

Porting Samba to NT would be an interesting feat, however realistically,
who would want to run Samba on NT?  If you weren't confident in using unix,
I doubt you'd be confident in using Samba/NT.  Apache was ported to NT, but
I really don't know how many people around the world run Apache on Windows.

The only time I could possibly see the advantages of running Samba on
Windows instead of on Unix is because you don't have the budget to put in a
Unix system.  Otherwise, it would be Unix, Unix, Unix, all the way!

If it were available for NT, would you run it?  And if so, why would you
choose to run it on the NT platform over Unix?

-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] can't log into Samba.

2003-02-25 Thread Adam Smith
On Tue, Feb 25, 2003 at 03:23:22PM -0800, Paul Hong said:
> I am runnning Samba 2.2.3a which act as a NT workstation
>   connecting to CNS-NT domain.
>   When I tried to connect to Samba,  \\Bigred\home is not
>   accessible, you might not have permission to use this network resource.

Has the path changed?  ie. is the share in smb.conf pointing to a directory
that no longer exists?


-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Local Administrators error

2003-02-19 Thread Adam Smith

I can't seem to add Domain users as Local Administrators of computers added
to my Samba 2.2.7a domain running on FreeBSD 5.0 on a Windows XP
Professional workstation.

When I go through the 'Local Users and Groups' Snap-In in Windows XP, I get
the following error when trying to add a domain account, such as
DOMAIN\bugman, to the Administrators group on my machine:

"Information returned from the object picker for object "bugman" was
incomplete.  The object will not be processed."

This does not occur when I try adding users to the Local Administrator's
group on a Windows 2000 machine.  I have not had the capacity to test it
with another Windows XP machine at this point.  The logs do not provide any
details that I can see.

Anyone have any idea how to pursue this further, or are there any further
pieces of information you'd be interested in seeing (from my logs/config
file) to help figure this out?


Regards,

-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] managing acl's via windows in samba 3.0 alpha 21

2003-02-19 Thread Adam Smith
On Wed, Feb 19, 2003 at 05:29:43PM -0700, Rick Segeberg said:
> 
> I've successfully joined the ads domain and can access files etc. with
> no problems from my windows workstation logged into the domain.  I've
> got acl's working on the linux side (meaning I can successfully add
> multiple user and group permissions to a file or directory using
> setfacl.  However, when I try to add a user to a file or directory from
> windows, I get the following error:
> 
> "Unable to save permission changes on file .  Access denied."

Does the account you are trying to change the ACLs from have sufficient
permission to do so?  Log in as root on the desktop and see what error you
get, if any.


-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] password expire time

2003-02-06 Thread Adam Smith
In Samba 2.2.7a, 'password expire time' appears to be being ignored.

When I run 'smbstatus' it says:

Unknown parameter encountered: "password expire time"
Ignoring unknown parameter "password expire time"

What should I be using to force a password change every n days?


Regards,

--
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com

Phone:   (08) 8276 0703
Fax: (08) 8276 0799
Mobile:  0414 895 273


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



Re: [Samba] Not able to login to Samba PDC : The specified user doesnot exist

2003-02-04 Thread Adam Smith
On Tue, Feb 04, 2003 at 12:07:32PM -0800, Adil Hussain said:
> 
>add user script = /usr/sbin/useradd -d /dev/null -g
> machines -s /bin/false -M %u

What does this do exactly?  I can see it runs this command as the user add script, but 
what sequence of events needs to happen for this to occur?

> ;sync UNIX passwords
>  unix password sync = yes
>  passwd program = /usr/bin/passwd %u
>  passwd chat = *New*UNIX*passwd* %n\n
> *Retype*new*UNIX*passwd* %n\n
> *Enter*new*UNIX*password* %n\n
> *Retype*new*UNIX*passwd* %n\n *passwd:
> *all*authentication*tokens*updated*successfully*

How and when does this work?  If you specify a user's password upon creation of their 
account, you need to first (at least in my experience) specify a unix password, then a 
smbpasswd.  How does this synchronization work, and what exactly does it do?

Can it be used to synchronize other machines?

-- 
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Windows 2k Home directories junk

2003-02-03 Thread Adam Smith
> Has anyone had the home directories of some Windows 2000 users become
> inundated with thousands (15k or so) of directories all of a 
> sudden? This is
> of course a samba share on the samba PDC. It really renders 
> the H:\ pretty useless. 

What are the directories?




--
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com


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



RE: [Samba] Re: FreeBSD 5.0 + ACLs

2003-02-02 Thread Adam Smith
> The next step (and what you're probably missing) is
> compiling samba --with-acl-support (or something like
> that.. do ./configure --help | grep -i acl).  I
> tweaked a .spec file in a SRPM and you might have to
> edit your port's Makefile or something.

I installed Samba from the ports with a make install.  The configuration
screen allowed me to select ACLs, but to be safe, I recompiled it and
reinstalled it manually with a 'make --with-acl-support.'

The output from mount says:
/dev/ar0s1g on /data (ufs, local, acls)
 
> We also had to install acl/libacl/libacl-devel and
> attr/libattr/libattr-devel (e.g. binaries, libraries,
> and development headers+includes) packages in order to
> compile.

I did a quick search on freebsd.org and Google but found nothing
extremely helpful :/

Am I supposed to be able to modify 'extended' ACLs on the UFS2 file
system?

Something could be wrong with it.  Whenever I do an 'ls -la'  I get the
following results:

ls: ./.: Operation not supported
drwxrwx---  10 root administration 512 Jan 29 11:08 .
ls: ./..: Operation not supported
drwxr-xr-x  12 root wheel  512 Jan 29 16:28 ..
ls: ./Accounts: Operation not supported
drwxrwx---   3 root administration 512 Jan 29 09:02 Accounts
ls: ./Accounts Payable: Operation not supported
drwxrwx---   4 root administration 512 Jan 29 08:36 Accounts
Payable
ls: ./Finance: Operation not supported
drwxrwx---  26 root administration1536 Jan 29 08:37 Finance


Every directory brings that up.  It is the -l option causing the
problem.  A normal 'ls' on its own doesn't display these errors.

Any ideas here?


Adam



--
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com


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



[Samba] FreeBSD 5.0 + ACLs

2003-02-02 Thread Adam Smith
Hi all,

I am playing with a test box at the moment running a Samba 2.2.7a domain
on FreeBSD 5.0.  I wish to enable ACLs, but I am not exactly sure what I
am supposed to expect once they are enabled.

I have created a UFS2 partition and enabled ACL support using tunefs.
Since doing that, I have been able to connect to the Samba shares and
modify ACLs, but so far the only things I have been able to accomplish
are changing ownership, and modifying the o/g/u permissions.

As I understand it, because UFS2 supports ACLs, am I not supposed to be
able to create more thorough ACLs (much like NTFS can?)

Have I chosen the correct file-system to do the job?


Regards,

--
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com


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



RE: [Samba] FreeBSD & Machine accounts

2003-01-28 Thread Adam Smith
> # adduser 
> 
>   for the machine account i'm going to create.  most lately it was
>   for an account for machine 'phoenix'.
> 
>   then i did
> 
> # vipw
> 
>   and added the '$' to the username.

I edited the source of 'pw' and took out the $ restriction so I am now
able to add machine accounts from the command line without having to go
and add the $ symbol using vipw.
 
Adam


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



[Samba] FreeBSD & Machine accounts

2003-01-27 Thread Adam Smith
Due to FreeBSD not allowing '$' in usernames, and because I have to add
a machine account for each computer I add to my Samba domain, what can I
do to try and accomplish the following?

1.  Automate FreeBSD to allow me to add machines to a domain the same
way Windows lets you do it from the workstation.

2.  Add user accounts which incorporate '$' without having to create a
different account first, and then edit a $ suffix manually afterwards.

Can anyone give me any pointers as to whether these can/can't be done?

My FreeBSD installation is version 5.0.


--
Adam Smith
Information Technology Officer
SAGE Automation Ltd.

[EMAIL PROTECTED]
http://www.sageautomation.com


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



Re: [Samba] I am out of the office.

2003-01-22 Thread Adam Smith

This is getting a bit tiresome.  Can someone unsubscribe him or something?

By [EMAIL PROTECTED], on Tue, Jan 21, 2003 at 09:15:58PM -0800:

> I will be out of the office starting  01/21/2003 and will not return until
> 01/28/2003.
> 
> I will respond to your message when I return.  If you have questions
> regarding product licensing, please contact Natalie Rezek, at 323-259-4910;
> for any other issues requiring immediate attention, please contact Kevin
> Kilroy at 714-445-5623.


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



RE: [Samba] Authoring a HOWTO

2003-01-21 Thread Adam Smith
> I am in the process of authoring a Samba-LDAP-PDC HOWTO for Mandrake 
> users that will allow cross platform ( Linux / M$ ) network user 
> authentication.  

I was using a similar HOWTO, located at
http://www.unav.es/cti/ldap-smb-howto.html, but because I am completely
new to LDAP some of it was Double Dutch.  How are you going to go about
authoring your HOWTO, and what kind of pre-requisits will it require in
relation to LDAP?

At the moment I'm considering using straight SMB authentication because
I don't think I have the time to learn LDAP before I get a test
environment running, and due to the lack of skill with LDAP that I have,
I needed to rely heavily on a LDAP/SAMBA-PDC HOWTO.

OpenLDAP is installed on this test environment, but not running.  How
difficult will it be migrating from SMB Authentication to LDAP
Authentication down the track?

Adam


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