So now that cifs has finally been released in b77, anyone happen to have any documentation on setup. I know the initial share is relatively simple... but what is the process after that for actually getting users authenticated? I see in the idmap service there''s some configurations for authenticating against an AD server, but is there anyway to get it to authenticate with a local database? In my test environment I only have a couple users, and no AD server, so it seems a bit silly to set one up simply to get authentication to the cifs shares. Docs/links, anyone? This message posted from opensolaris.org
so apparently you need to use smbadm, but when I got to create the group: smbadm create wheel failed to create the group (NOT_SUPPORTED) This message posted from opensolaris.org
On Thu, Nov 22, 2007 at 10:27:18AM -0800, Tim Cook wrote:> So now that cifs has finally been released in b77, anyone happen toIt hasn''t been released. It was integrated into build 77.> have any documentation on setup. I know the initial share isThe documentation will be available in the first SX release to officially have the SMB server.> relatively simple... but what is the process after that for actually > getting users authenticated? I see in the idmap service there''s some > configurations for authenticating against an AD server, but is there > anyway to get it to authenticate with a local database?There''s been a lot of bugfixes, so I higly recommend waiting at least until build 79 closes. What you would do is enable the idmap and smb/server services, then run "smbadm join" and go from there. But like I said, I recommend waiting for build 79.> In my test environment I only have a couple users, and no AD server, > so it seems a bit silly to set one up simply to get authentication to > the cifs shares. Docs/links, anyone?There is a workgroup mode (this is controlled by a property of the smb/server service), but I''m not sure how well it works as I''ve not used it. Perhaps the CIFS server project team can follow up here (but keep in mind it''s Thanksgiving week...). Nico --
Nicolas Williams wrote:> On Thu, Nov 22, 2007 at 10:27:18AM -0800, Tim Cook wrote: >> So now that cifs has finally been released in b77, anyone happen to > > It hasn''t been released. It was integrated into build 77. > >> have any documentation on setup. I know the initial share is > > The documentation will be available in the first SX release to > officially have the SMB server. > >> relatively simple... but what is the process after that for actually >> getting users authenticated? I see in the idmap service there''s some >> configurations for authenticating against an AD server, but is there >> anyway to get it to authenticate with a local database? > > There''s been a lot of bugfixes, so I higly recommend waiting at least > until build 79 closes. What you would do is enable the idmap and > smb/server services, then run "smbadm join" and go from there. But like > I said, I recommend waiting for build 79. > >> In my test environment I only have a couple users, and no AD server, >> so it seems a bit silly to set one up simply to get authentication to >> the cifs shares. Docs/links, anyone? > > There is a workgroup mode (this is controlled by a property of the > smb/server service), but I''m not sure how well it works as I''ve > not used it. Perhaps the CIFS server project team can follow up here > (but keep in mind it''s Thanksgiving week...). > > Nicosomeone from the CIFS team in storage-discuss should be able to answer these questions. -Mark
Tim, CIFS server comes up in workgroup mode by default. In this mode you can use your local users to access CIFS shares. Here is what you need to do: Add the following line at the end of /etc/pam.conf other password required pam_smb_passwd.so.1 nowarn use passwd(1) with any of local users you want to use for accessing CIFS share. You''ll need to do this in order to generate CIFS understandable encrypted version of the user''s password. After using passwd, you can do "cat /var/smb/smbpasswd" to make sure a password has been generated. Please use storage-discuss mailing list for your CIFS related questions. Thank you Mark for posting this here! Afshin Mark Shellenbaum wrote:> Nicolas Williams wrote: >> On Thu, Nov 22, 2007 at 10:27:18AM -0800, Tim Cook wrote: >>> So now that cifs has finally been released in b77, anyone happen to >> It hasn''t been released. It was integrated into build 77. >> >>> have any documentation on setup. I know the initial share is >> The documentation will be available in the first SX release to >> officially have the SMB server. >> >>> relatively simple... but what is the process after that for actually >>> getting users authenticated? I see in the idmap service there''s some >>> configurations for authenticating against an AD server, but is there >>> anyway to get it to authenticate with a local database? >> There''s been a lot of bugfixes, so I higly recommend waiting at least >> until build 79 closes. What you would do is enable the idmap and >> smb/server services, then run "smbadm join" and go from there. But like >> I said, I recommend waiting for build 79. >> >>> In my test environment I only have a couple users, and no AD server, >>> so it seems a bit silly to set one up simply to get authentication to >>> the cifs shares. Docs/links, anyone? >> There is a workgroup mode (this is controlled by a property of the >> smb/server service), but I''m not sure how well it works as I''ve >> not used it. Perhaps the CIFS server project team can follow up here >> (but keep in mind it''s Thanksgiving week...). >> >> Nico > > someone from the CIFS team in storage-discuss should be able to answer > these questions. > > > > -Mark > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss